package org.dromara.generator.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Collection;

/**
 * where基础类
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CustomWhereBaseBody extends CustomField {

    /**
     * 操作
     */
    private SqlOperateEnum operate;

    /**
     * 操作条件
     * and:true
     * or:false
     */
    private Boolean operateType;


    /**
     * 值，查询值
     */
    private Object keyValue;

    /**
     * 范围
     * 仅 operate为in需要传递
     */
    private Collection<Object> keyValueList;


}
